package net.bo;

import net.ko.kobject.KObject;
import net.ko.persistence.annotation.Entity;
import net.ko.persistence.annotation.Table;
import net.ko.kobject.KListObject;


/**
* Classe KFonction
*/
@SuppressWarnings("serial")
@Entity
@Table(name="fonction")
public class KFonction extends KObject {
	private String actions;
	private String description;
	private int idRubrique;
	private String libelle;
	private int numero;
	private String resultats;
	private String situation;
	private String usecase;
	private KListObject<KFtester> ftesters;
	private KRubrique rubrique;
	private String resultat;

	public String getResultat() {
		return resultat;
	}
	public void setResultat(String resultat) {
		this.resultat = resultat;
	}
	public KFonction() {
		super();
		belongsTo(KRubrique.class);
		hasMany(KFtester.class);
	}
	/**
	 * return the value of actions
	 * @return actions
	 */
	public String getActions(){
		return this.actions;
	}
	/**
	 * return the value of description
	 * @return description
	 */
	public String getDescription(){
		return this.description;
	}
	/**
	 * return the value of idRubrique
	 * @return idRubrique
	 */
	public int getIdRubrique(){
		return this.idRubrique;
	}
	/**
	 * return the value of libelle
	 * @return libelle
	 */
	public String getLibelle(){
		return this.libelle;
	}
	/**
	 * return the value of numero
	 * @return numero
	 */
	public int getNumero(){
		return this.numero;
	}

	/**
	 * return the value of resultats
	 * @return resultats
	 */
	public String getResultats(){
		return this.resultats;
	}
	/**
	 * return the value of situation
	 * @return situation
	 */
	public String getSituation(){
		return this.situation;
	}
	/**
	 * return the value of usecase
	 * @return usecase
	 */
	public String getUsecase(){
		return this.usecase;
	}
	/**
	 * return the value of ftesters
	 * @return ftesters
	 */
	public KListObject<KFtester> getFtesters(){
		return this.ftesters;
	}
	/**
	 * return the value of rubrique
	 * @return rubrique
	 */
	public KRubrique getRubrique(){
		return this.rubrique;
	}

	/**
	 * set the value of actions
	 * @param aActions
	 */
	public void setActions(String aActions){
		this.actions=aActions;
	}
	/**
	 * set the value of description
	 * @param aDescription
	 */
	public void setDescription(String aDescription){
		this.description=aDescription;
	}
	/**
	 * set the value of idRubrique
	 * @param aIdRubrique
	 */
	public void setIdRubrique(int aIdRubrique){
		this.idRubrique=aIdRubrique;
	}
	/**
	 * set the value of libelle
	 * @param aLibelle
	 */
	public void setLibelle(String aLibelle){
		this.libelle=aLibelle;
	}
	/**
	 * set the value of numero
	 * @param aNumero
	 */
	public void setNumero(int aNumero){
		this.numero=aNumero;
	}

	/**
	 * set the value of resultats
	 * @param aResultats
	 */
	public void setResultats(String aResultats){
		this.resultats=aResultats;
	}
	/**
	 * set the value of situation
	 * @param aSituation
	 */
	public void setSituation(String aSituation){
		this.situation=aSituation;
	}
	/**
	 * set the value of usecase
	 * @param aUsecase
	 */
	public void setUsecase(String aUsecase){
		this.usecase=aUsecase;
	}
	/**
	 * set the value of ftesters
	 * @param aFtesters
	 */
	public void setFtesters(KListObject<KFtester> aFtesters){
		this.ftesters=aFtesters;
	}
	/**
	 * set the value of rubrique
	 * @param aRubrique
	 */
	public void setRubrique(KRubrique aRubrique){
		this.rubrique=aRubrique;
	}
	@Override
	public String toString() {
		return libelle+"";
	}
}